Skip to content

Kernel: Add CPU and power-domain residency validation - #705

Draft
Srikanth Muppandam (smuppand) wants to merge 2 commits into
qualcomm-linux:mainfrom
smuppand:power-residency-validation
Draft

Srikanth Muppandam (smuppand) wants to merge 2 commits into
qualcomm-linux:mainfrom
smuppand:power-residency-validation

Conversation

@smuppand

Copy link
Copy Markdown
Contributor

Add separate read-only suites for actual CPU idle time and runtime-discovered CPU power-domain residency. Record state entries and rejections without requiring every state to be used. Unobserved residency skips unless the job supplies an explicit minimum, while counter regression and kernel faults fail. Reuse a shared CPU counter snapshot helper without changing governors or power policy.

Capture validated per-state counters for online CPUs without changing idle policy. Return explicit unavailable and invalid-evidence statuses for residency and recovery consumers.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add separate read-only suites for actual CPU idle time and runtime-discovered CPU power-domain residency. Record state entries and rejections without requiring every state to be used. Unobserved residency skips unless the job supplies an explicit minimum, while counter regression and kernel faults fail. Reuse a shared CPU counter snapshot helper without changing governors or power policy.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant